package com.ruoyi.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 供应商管理对象 t_vendor
 * 
 * @author hp
 * @date 2023-02-04
 */
public class Vendor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String name;

    /** 联系人 */
    @Excel(name = "联系人")
    private String manager;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String managerPhone;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String email;

    /** 传真 */
    @Excel(name = "传真")
    private String fax;

    /** 账号 */
    @Excel(name = "账号")
    private String bankAccount;

    /** 开行户 */
    @Excel(name = "开行户")
    private String bankName;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 期初应付 */
    @Excel(name = "期初应付")
    private Long firstPay;

    /** 期末应付 */
    @Excel(name = "期末应付")
    private Long lastPay;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setManager(String manager) 
    {
        this.manager = manager;
    }

    public String getManager() 
    {
        return manager;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setManagerPhone(String managerPhone) 
    {
        this.managerPhone = managerPhone;
    }

    public String getManagerPhone() 
    {
        return managerPhone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setFax(String fax) 
    {
        this.fax = fax;
    }

    public String getFax() 
    {
        return fax;
    }
    public void setBankAccount(String bankAccount) 
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount() 
    {
        return bankAccount;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setFirstPay(Long firstPay) 
    {
        this.firstPay = firstPay;
    }

    public Long getFirstPay() 
    {
        return firstPay;
    }
    public void setLastPay(Long lastPay) 
    {
        this.lastPay = lastPay;
    }

    public Long getLastPay() 
    {
        return lastPay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("manager", getManager())
            .append("phone", getPhone())
            .append("managerPhone", getManagerPhone())
            .append("email", getEmail())
            .append("fax", getFax())
            .append("bankAccount", getBankAccount())
            .append("bankName", getBankName())
            .append("address", getAddress())
            .append("note", getNote())
            .append("firstPay", getFirstPay())
            .append("lastPay", getLastPay())
            .toString();
    }
}
